package STUDENT.NGUYENSANG.OOPs.CHAN_LE;
import java.util.Scanner;
public class Controller {
	public static void main(String[] argns)
	{
		int a=0, b=0;
		Scanner input=new Scanner(System.in);
		Moduls m_Moduls=new Moduls();
		MyInteger MT=new MyInteger();
		System.out.println("Nhap gia tri");
		a=input.nextInt();
		MT.setInteger(a);
		System.out.println("Nhap lua chon\n"
				+ "0. in so chan\n"
				+ "1. in so le\n");
		b=input.nextInt();
		switch (b) {
		case 0:
			System.out.println("Day chan");
			m_Moduls.inChan(MT);
			break;
		case 1:
			System.out.println("Day le");
			m_Moduls.inLe(MT);
			break;
		}
		
	}
}
